package com.liliudong.template.common.constant;

/**
 * 异常Message
 *
 * @author liudo
 * @version 1.0
 * @project template-backend
 * @date 2024/7/31 13:38:11
 */
public interface ExMessage {

    String CANNOT_DELETE_ADMIN = "不能删除超级管理员";
    String USER_IS_EMPTY = "用户为空";
    String SYSTEM_ERROR = "系统异常";
    String ERROR_LOGIN = "登录异常";
    String DEPT_EMPTY = "部门为空";
    String ROLE_PERMISSION_REPEAT = "角色权限重复";
    String ROLE_EMPTY = "角色为空";
    String ROLE_NOT_EXIST = "角色不存在";
    String NOT_PERMISSION = "无权限访问";
    String SYS_MENU_ICON_EMPTY = "目录和菜单ICON不能为空";
    String SYS_MENU_COMPONENT_EMPTY = "目录和菜单COMPONENT不能为空";
    String MENU_UNION_ROLE = "菜单已被角色使用";
    String MENU_UNION_MENU = "菜单下子集不为空";
    String DEPT_NAME_REPEAT = "部门名称重复";
    String DEPT_UNION_ROLE = "部门被角色使用";
    String DICT_EMPTY = "字典为空";
    String DICT_UNION_ITEM = "字典下存在字典项";
    String DICT_NOT_EXIST = "字典不存在";
}
